import request from '@/utils/request'

// 查询列表
export function allowanceBlackList(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminAllowanceBlackListProvider/1.0.0/allowanceBlackList.html',
    method: 'post',
    data: query
  })
}

// 黑名单添加
export function create(query) {
    return request({
      url: '/com.mmk.reservation.api.AdminAllowanceBlackListProvider/1.0.0/create.html',
      method: 'post',
      data: query
    })
}

//黑名单删除
export function deleteFn(query) {
    return request({
      url: '/com.mmk.reservation.api.AdminAllowanceBlackListProvider/1.0.0/delete.html',
      method: 'post',
      data: query
    })
}